import FastClick from "./fastclick";
//适配手机 设置根元素像素大小
document.documentElement.style.fontSize =
    document.documentElement.clientWidth / 3.75 + "px";

window.addEventListener(
    "load",
    function() {
        FastClick.attach(document.body);
    },
    false
);

document.documentElement.addEventListener(
    "touchmove",
    function(e) {
        if (e.touches.length > 1) {
            e.preventDefault();
        }
    },
    false
);